<template>
	<view class="box">
		<view class="title">留言内容：</view>
		<view>{{info.desc}}</view>
		<image v-for="(item,index) in info.images" :key="index" :src="item"></image>
		<view v-if="info.status==1" class="title">回复内容：</view>
		<view v-if="info.status==1">{{info.reply}}</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:[]
			}
		},
		onLoad(options) {
			this.getInfo(options.id);
		},
		methods: {
			getInfo(id){
				var _this = this;
				_this.$http('apply.liuyanDesc',{
					id:id
				}).then(res=>{
					_this.info = res.data;
				})
			}
		}
	}
</script>

<style>
	.box{
		padding: 30rpx;
	}
	.title{
		font-weight: bold;
		
	}
</style>
